<template>
  <el-container class="pageHome">
    <el-aside width="160px">
      <slot name="left"></slot>
    </el-aside>
    <el-container>
      <el-header class="header" height="40px">
        <slot name="header"></slot>
      </el-header>
      <el-container>
        <el-main>
          <slot name="main"></slot>
        </el-main>
       <!-- <el-aside width="180px">
          <slot name="right"></slot>
        </el-aside> -->
      </el-container>
    </el-container>
  </el-container>
</template>

<script>

export default {
  name: 'Layout',
  components: {

  }
}
</script>

<style scoped lang="scss">
/deep/{
  .el-header, .el-footer {
    background-color: #B3C0D1;
  }

  .el-aside {
    background-color: #D3DCE6;
  }

  .el-main {
    background-color: #E9EEF3;
  }

  .el-header, .el-footer,.el-aside,.el-main{
    padding: 0;
  }
}

.pageHome{
  height: 100vh;
}
</style>
